@import url('../theme/black.scss');
@import url('../theme/white.scss');

html,
body,
#root {
  margin: 0;
  user-select: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

// 清除点击元素的蓝色背景
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
/** 标签基础样式 */
button,
input,
div,
span,
form,
ul,
li,
ol {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
}

// 隐藏滚动条
::-webkit-scrollbar {
  display: none;
  background-color: transparent;
}
// loading
.wave:nth-child(1) {
  animation-delay: -0.4s;
}
.wave:nth-child(2) {
  animation-delay: -0.3s;
}
.wave:nth-child(3) {
  animation-delay: -0.2s;
}
.wave:nth-child(4) {
  animation-delay: -0.1s;
}
/** 动画播放 */
.animate-running {
  animation-play-state: running;
}
/** 动画暂停 */
.animate-paused {
  animation-play-state: paused;
}
/** 文字两端对齐 */
.text-last-justify {
  text-align-last: justify;
}
/** 清除输入框回填时的白色填充色 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-transition-delay: 99999s;
  -webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}
/* 隐藏输入框上下箭头 */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* 隐藏输入框上下箭头：兼容Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}
/** 去掉img标签src为空加载时的白色边框 */
img[src=''],
img:not([src]) {
  opacity: 0;
}
.emd-icon {
  color: currentColor;
  font-size: 24px;
}
